<template>
<div class="page" data-name="sobill-detail">
	<div class="navbar">
		<div class="navbar-inner sliding">
			<div class="left">
				<a href="#" class="link back"> <i class="icon icon-back"></i> <span
					class="ios-only">返回</span>
				</a>
			</div>
			<div class="title">客户资料</div>
		</div>
	</div>
	<div class="page-content">
		<div class="list media-list">
			<ul>
				<li>
					<div class="item-content">
						<div class="item-inner">
							<div class="item-title-row">
								<div class="item-title">{{customer.name}}</div>
								<div class="item-after">编码：{{customer.code}}</div>
							</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-cell">客户分类：{{customer.categoryName}}</div>
							<div class="item-cell">价格体系：{{customer.priceSystem}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;地址：{{customer.address}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">收货地址：{{customer.addressReceipt}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;联系人1：{{customer.contact01}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;手机：{{customer.mobile01}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;固话：{{customer.tel01}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;QQ&emsp;{{customer.qq01}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;联系人2：{{customer.contact02}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;手机：{{customer.mobile02}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;固话：{{customer.tel02}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;QQ&emsp;{{customer.qq02}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">开户银行：{{customer.bankName}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">开户账号：{{customer.bankAccount}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;税号：{{customer.tax}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">&emsp;&emsp;传真：{{customer.fax}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-cell">应收期初：{{customer.initReceivables}}</div>
							<div class="item-cell">余额日期：{{customer.initReceivablesDT}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">销售仓库：{{customer.warehouseName}}</div>
						</div>
					</div>
				</li>
				<li>
					<div class="item-inner">
						<div class="item-title-row">
							<div class="item-title">备注：{{customer.note}}</div>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
</template>

<script>
	return {
		methods : {},
		data : function() {
			return {
				customer : this.$route.context.customer
			};
		}
	};
</script>

